package au.com.handsunited.web.validator.group;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;

import au.com.handsunited.web.command.group.InviteToGroupCommand;

/**
 * @author Object
 *
 */
public class InviteToGroupCommandValidator implements Validator {

	/**
	 *
	 */
	public InviteToGroupCommandValidator() {

	}

	/**
	 * @see org.springframework.validation.Validator#supports(java.lang.Class)
	 */
	@Override
	public boolean supports(Class clazz) {
		return clazz.isAssignableFrom(InviteToGroupCommand.class);
	}

	/**
	 * @see org.springframework.validation.Validator#validate(java.lang.Object, org.springframework.validation.Errors)
	 */
	@Override
	public void validate(Object target, Errors errors) {

	}

}
